<div class="menu1" xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <dl>
	<dt>按款式选择：</dt>
	<ui:repeat value="#{topProductDesigns}" var="item">
		<dd>
		  <s:link view="/searchresult.xhtml" propagation="none">
	        <f:param name="design" value="#{item.design}" />
		    <h:outputText value="#{item.design}"></h:outputText>
		  </s:link>
		</dd>
	</ui:repeat>
	<dt>按裤长选择：</dt>
	<ui:repeat value="#{topProductDesigns}" var="item">
	  	<dd>
	  	  <s:link view="/searchresult.xhtml" propagation="none">
			<f:param name="length" value="#{item.length}" />
			<h:outputText value="#{item.length}"></h:outputText>
		  </s:link>
		</dd>
	</ui:repeat>
	<dt>按风格选择：</dt>
	<ui:repeat value="#{topProductDesigns}" var="item">
		<dd>
		  <s:link view="/searchresult.xhtml" propagation="none">
			<f:param name="style" value="#{item.style}" />
			<h:outputText value="#{item.style}"></h:outputText>
		  </s:link>
		</dd>
	</ui:repeat>
	<br />
	<dt>更多筛选条件 ：</dt>
  </dl>
  <br />

<h:form>
<div class="formRow"><h:outputLabel >颜色
					</h:outputLabel> 
					<h:selectOneMenu id="color" value="#{chooseItem.colorTemp1}">
						<s:selectItems value="#{colors}" var="color"
							label="#{color.valueName}"  />
					 <s:convertEntity/>			
					</h:selectOneMenu>
					</div>
<br/>				
<div class="formRow"><h:outputLabel >价格区间
					</h:outputLabel> <h:selectOneMenu id="price" value="#{chooseItem.priceTemp1}">
						<s:selectItems value="#{prices}" var="price"
							label="#{price.valueName}"  />
						<s:convertEntity/>	
					</h:selectOneMenu>
		</div>
	<br/> 		
		<div class="formRow"><h:outputLabel >裤腰
					</h:outputLabel> <h:selectOneMenu id="waist" value="#{chooseItem.waistTemp1}">
			<s:selectItems value="#{waists}" var="waist"
				label="#{waist.valueName}" />
			<s:convertEntity/>
		</h:selectOneMenu></div>
		<br/> 
<div class="formRow"><h:outputLabel>适合季节
					</h:outputLabel> <h:selectOneMenu id="fit-season" value="#{chooseItem.fitseasonTemp1}">
						<s:selectItems value="#{fitSeasons}" var="fitSeason"
							label="#{fitSeason.valueName}"  />
						 <s:convertEntity/>
					</h:selectOneMenu>
					</div> 	
<br/>	
 			
<div class="formRow"><h:outputLabel>尺寸
					</h:outputLabel> <h:selectOneMenu id="size" value="#{chooseItem.sizeTemp1}">
						<s:selectItems value="#{sizes}" var="size"
							label="#{size.valueName}"  />
						<s:convertEntity/>	
					</h:selectOneMenu>
					</div> 		
		
 <h:commandButton  value="搜索"
					action="#{chooseItem.doSearch}" />
</h:form>

</div>
